package com.fanhao.dllo.justforyou.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.fanhao.dllo.justforyou.R;
import com.fanhao.dllo.justforyou.view.GifMovieView;

public class NotificationActivity extends AppCompatActivity implements View.OnClickListener {
      private GifMovieView gifMovieView;
      private ImageView returnIv;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_notification);

        returnIv = (ImageView)findViewById(R.id.returnIv);
        returnIv.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        Intent intent = new Intent(this,HomeActivity.class);
        startActivity(intent);
        //左进右出动画效果
        overridePendingTransition(
                R.anim.left_into, R.anim.right_out);
        finish();
    }
}
